<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script src="./promise.js"></script>
<script>
    ajax('get','./user.json',{}).then((res)=>{
        console.log("获取信息",res);
       return ajax('get','./user.json',{id:res.id})

    }).then(()=>{
        console.log("获取成绩",res);
        return ajax('get','./user.json',{id:res.id})
    }).then((res)=>{
        console.log("三个月成绩",res);
    })

</script>
</html>